import request from '@/utils/request'

//获取人员信息
export function getPatInfo(query) {
    return request({
        url: '/msip/setl/getPatInfo',
        method: 'post',
        params: query
    })
}

//获取人员备案信息
export function slowSpecialWin(query) {
    return request({
        url: '/msip/setl/slowSpecialWin',
        method: 'post',
        params: query
    })
}

//门诊预结算
export function preSettlement(data) {
    return request({
        url: '/msip/setl/preSettlement',
        method: 'post',
        data: data
    })
}
//门诊结算
export function settlement(data) {
    return request({
        url: '/msip/setl/settlement',
        method: 'post',
        data: data
    })
}

//门诊取消结算（包含部分退费重收）
export function settlementUndo(data) {
    return request({
        url: '/msip/setl/settlementUndo',
        method: 'post',
        data: data
    })
}

//门诊预结算
export function preSettlementUndo(data) {
    return request({
        url: '/msip/setl/preSettlementUndo',
        method: 'post',
        data: data
    })
}

//事前审核
export function priorAnalysis(data) {
    return request({
        url: '/msip/detailAudit/priorAnalysis',
        method: 'post',
        data: data
    })
}
//事中审核
export function makeAnalysis(data) {
    return request({
        url: '/msip/detailAudit/makeAnalysis',
        method: 'post',
        data: data
    })
}

//事前事中审核反馈
export function feedBack(data) {
    return request({
        url: '/msip/detailAudit/feedBack',
        method: 'post',
        data: data
    })
}
